import { RouteProp } from '@react-navigation/native'; // 获取route的props
// 定义每个路由的参数 偷懒直接any 绝对没有报错
export type RouterParamsList = {
  "Examples":any,
}
export type RouteType = RouteProp<RouterParamsList>;
declare global {
  namespace ReactNavigation {
      interface RootParamList extends RouterParamsList {}
  }
}